package com.hqyj.finance.server.users.financeusers.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hqyj.finance.server.users.financeusers.entity.Users;

import java.util.List;


public interface UsersService extends IService<Users> {

    public List<Users> queryAllUsers();
    //用户登录
    Users login(String identify,String password) throws Exception;


    //用户注册
    boolean reg(Users u) throws Exception;

    boolean checkIdentifyIsReg(String identify) throws Exception;

    boolean updateUsersProfile(Users u) throws Exception;

    Users queryUserProfileByUid(Integer uid) throws Exception;

    boolean updateUserDeleteFlagByUid(Integer uid,Integer flag) throws Exception;
}
